package com.xiaohudie.Dao.Impl;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;
@Repository
public class Dao implements com.xiaohudie.Dao.Dao {
    public String Dao(String a) {
        List<String> arrayList = new ArrayList<String>();
        if (a.equals("2")) {
            arrayList.add("1");
            arrayList.add("2");
            arrayList.add("3");
            arrayList.add("4");
            arrayList.add("5");
        }
        String s = arrayList.toString();
        return s;

    }
}
